<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>  

<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html"%>

<%@ page isELIgnored="false" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>同乐吧-邀请别人</title>
		
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<link href="../css/public.css" rel="stylesheet" type="text/css" />
		<link href="../css/column.css" rel="stylesheet" type="text/css" />
		<link href="../css/comment.css" rel="stylesheet" type="text/css" />

<script>
function v(){
var emailReg=/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?$/i;
	if(!document.forms[0].emails.value){
		alert('邮件地址不能为空');
		return false;
	}
	else{
		var es=document.forms[0].emails.value.split(',');
		for(var i=0;i<es.length;i++){
			var ei=es[i];
			
			if(emailReg.test(ei)){
				continue;
			}
			else{
				alert('邮件地址：'+ei+'格式不对');
				return false;
			}
		}
	}
	if(!document.forms[0].yourName.value){
		alert('你的名字不能为空');
		return false;
	}
	return true;
	
}
</script>
	</head>
	<body class="body">
		<div class="pageContent">
		
			<jsp:include flush="true" page="../include/header.jsp"></jsp:include>
			
			<!-- 页面主内容 -->
			<div class="main">
			 
 <form name="emailform" action="invite.do?method=getMSNAddressList" method="post" style="text-align: center">
				<p class="f13" style="margin-bottom:15px;display:inline;" ><b>从我的msn导入通讯录，选择待邀请人并发送邀请邮件</b></p>
				
				<p >msn账号：<input type="text" size="20" class="it1" onfocus="this.className='it2';" onblur="this.className='it1';"  name="user" />
			
					
				
				</p>
				
				<p id="ms3">msn密码：<input type="password"  size="21" class="it1" onfocus="this.className='it2';" onblur="this.className='it1';"   name="passwd" /></p>
				<div class="c"></div>
			
				<p id="ms4" class="mt10 mb10"><span class="rbs1"><input type="submit" id="btn_s" value=" 导入 " title="导入" class="rb1-12" onmouseover="this.className='rb2-12';" style="font-size:12px;border: 1 solid #808080"/></span></p>
				</form>
</div>
			
			<jsp:include flush="true" page="../include/footer.jsp"></jsp:include>
				
		</div>
	</body>
</html>